package com.vip.zuul.vo;

import java.util.List;
import java.util.Set;

import org.springframework.cloud.netflix.zuul.filters.Route;
import org.springframework.cloud.netflix.zuul.filters.ZuulProperties.ZuulRoute;

public class RouteDTO{

	public ZuulRoute zuulRoute;
	
	public List<String> blackIP;
	
	public List<String> blockUrl;
	
	public int redisRate;
	
	public int redisBurst;
	
    private String balancerName;
    
    /**
     * A full physical URL to map to the route. An alternative is to use a service ID
     * and service discovery to find the physical address.
     */
    private String url;
    
    private String servers;
    
    private String pingUrl;
    
    private String pingClassName;
	
	public List<String> getBlackIP() {
		return blackIP;
	}

	public void setBlackIP(List<String> blackIP) {
		this.blackIP = blackIP;
	}

	public List<String> getBlockUrl() {
		return blockUrl;
	}

	public void setBlockUrl(List<String> blockUrl) {
		this.blockUrl = blockUrl;
	}

	public int getRedisRate() {
		return redisRate;
	}

	public void setRedisRate(int redisRate) {
		this.redisRate = redisRate;
	}

	public int getRedisBurst() {
		return redisBurst;
	}

	public void setRedisBurst(int redisBurst) {
		this.redisBurst = redisBurst;
	}
	
	public String getBalancerName() {
		return balancerName;
	}

	public void setBalancerName(String balancerName) {
		this.balancerName = balancerName;
	}

	public String getPingUrl() {
		return pingUrl;
	}

	public void setPingUrl(String pingUrl) {
		this.pingUrl = pingUrl;
	}

	public String getServers() {
		return servers;
	}

	public void setServers(String servers) {
		this.servers = servers;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getPingClassName() {
		return pingClassName;
	}

	public void setPingClassName(String pingClassName) {
		this.pingClassName = pingClassName;
	}

	public ZuulRoute getZuulRoute() {
		return zuulRoute;
	}

	public void setZuulRoute(ZuulRoute zuulRoute) {
		this.zuulRoute = zuulRoute;
	}

}
